package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.query.AreaFenceQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.AreaFenceResultDTO;
import com.engine4cloud.tdf.supervision.entity.AreaFenceEntity;

public interface AreaFenceService extends IService<AreaFenceEntity> {

    PageInfo<AreaFenceResultDTO> pageList(Params pageable, AreaFenceQueryDTO dto);

    AreaFenceResultDTO getByCode(String code);
}
